fix luabind

close #570