fix issue where inputs wouldn't be identified for firefox