bugfix + worked with goa segmentation