fixed makeqr validation