compile shader fix (FULL template)