fix a little bug in background.js