better error message on invalid price