Remove padding method from server side code