Debug Mode

please check the themes in debug mode. many depreciated functions are used. errors should not be there.