0 value error fixed