fix bug in gorocks