Added browser checking
Crash fix