possibly fixed goal timing issue