fix pepper frames generation