fix a bug on mount