Fix for admin in production