Hrde app bug

remove the 'app' constraint from the checkForMissingData function 
Please remove console.log