fixed error resolution