options and bugfix in direction