fixed permission and lost import