bug fixed to cases 605 and 905