fixed image permission and typo issues