fixed issue with broadcast vs emit
saving before proceeding with build