remove unwanted empty hash showing on every view