resolved issue for firefox