reduce dimension went in wrong direction