fixed errors in initial commit