some fix
compiled to js