fixed some front end for admin