fix quantiy to allow registration