fixed some firefox issues