fixed 'Frame is not a constructor''