modify frame