fixing errors#3