fixing errors...