Changed getFrame

changed getFrame