added os independent directory separator to template path
added error text to view