bugfix in menu: buffer must be rest
signalHandler renamed to signalhandler