value error fixed
directory definition fixed