adapt to recent restkit changes