added openendedness fix