fixed an issue introduced in the last commit