Fixed a few bugs admin page