fixing rbx via ffi

closes #6