corrected source padding