fixed an error from last commit