remove goto, hopefully fix osx

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>