Fix bug in FF