fix bug with creating facebook.db