fixed parser for rot/trans