correct error code

correct return on run production