fix false condition used for testing