location value found error fixed