#1951 fixed types in admin