fixed bug in framecontrol plugin