If you pushed the pistons back to quickly you may have damaged the seals in the master cylinder. Check this if all else fails. If not maybe the brake fluid poured out of the reservoir and when you pushed the pistons in and when the pistons were pumped back out the fluid level may have been to low and sucked air in.