fixed bug with unregistered customer