Fixed a bug with the first transformation