fixing codoing error