align the source to temp