fixed hash to name problem in view