frames

fixed some frame index issues