fix group and resize picture