Removed unusual function in admin