Bug when running without db