fix to hide when init