bugfix controller_dir