Fixed struct access error, assignment compatible check error, Added filename into printing error