removed incorrect condition