fixed up deep auto encoder