resolving some rrors