fixed issue mentioned by KevinM