avoid warning for using show attributes