little fix to automatic shader