fixing manual receipt validation