Fixed the errors I made