fixes some code errors...