fixed problems with new admin generator