resolved some error, others still remain