Fix path and lang attrs