fix agent bug in customer form