fixed errors'