fixed an error from previous change