changed conditional

changed conditional