fixed errors in code

why does gitHub hate us?