fix #30

added Ban and fence constraints in server-end