fix duplicate fucntion in admin template