prepare to work with RestLib 2