ensure that values passed to manipulate plot clicked are integers