whenever ted would break the custody agreement , which was pretty much every day , the kids would yell at emma for trying to get their dad in trouble when she called her attorney to get him to comply with the agreement .