fixed an error created by a previuos error fix