segment controller fix;