fixed check for snippets module enabled