fixed issue with bad call