Modified some stuff to stop errors when no coins collected