Removed type from error, fixed rt spec