fix source layout