rescue from active record not found error