ifexist fix