setFrame param issue