bugs fixed and level work