add forgotten inouts to return types