fixed a lr issue in lr frame.php