updated error for quantity>stock