fix issue #24
	-fix basemodel bug