fixed writing and committing file when using the default controller name