fix bounds.exist() method