fixes #60 Correctly binds actions