change firebase and small bugfix