fixed a bug when choosing string to compile shaders