level work. bug fixes