fix shader errors