little fix in framehandler