working on some transform bugs