fixed exceptions thrown when we were trying to run the program.
one issue : the line of car appearing on the top of the screen doesn't
go down