Added error state to each goal instead of 1 error state for all goals