Fixed error with admin page