* fixes memory allocation
* fixes projection and camera