Added tranform translate and fixed one bug