fix for rbx

trying to get it to work with rbx in this branch.