fixed a possible error