fixed error involving with