fix amount 0 check