prepare to work with RestLib