post typescript clean up