fixed bug with record
added some error messaging and display none if no location is selected