invalid amount handling