BUG: fixed dimensions of result