resolved issue with vao generation