fixing NoSuchFrame