Fixed firefox issues.