more relaible safari detection and snake case instead of camel case