Attempt to fix ruby error.