Fixed a few things especially firefox not working