Fixed bugs with add farm and pay groups