add static import
fix typo for preferences