Fixed remote & firefox bugs