modify package frame