add debug info for memory issue and fix HUDview's position in iPad