segments2 -> segemnts3
fixed nullpointer at startup