fix for "not admin" check