fixes for ff and ie