few errors solved