fix frame
modify sManager.setP