fixing re object