Problem with coding HC4051

I guess i found out what is my problem !!!
Unused MUX pins should be grounded .. i will try that and see how it turns !

I am uploading a better resolution : sketch here