fixed a few errors because i didnt wait for compile to finish.