fixed possible error