Removed console log and fixed destroy bug