added trim to shader source parsing