fix width and height issues and wired the admin setttings