Remove unncessary padding