fix pading pyramid