Fixed native crash