level destroy function;