fix ruby sandbox callback