fix api for restkit