fixes for running in c9