erase debug code on view