Bugfix

Fixed a bug which caused the program to crash when going to standard
frame handler.