fix a tricky bug where timing did not work for shape spawning
fix gitignore