fixed goto stmnt bugfds