transform resets on creating new tab and loading the file