I found out this out:

The InitializeShaders (which I didn't show), in it I initialized program as an local variable, But program is a global variable.

Silly mistake.