fixed popup title. it was not dynamic