some order check
minor browser compability