making shader loader hopefully work in all cases