fixed issue considering a '/' admin_url; added comments;
removed empty lines;