fixed some bugs and disabled orientation changes