fixed pad deletion