Fixed bug no view file and bugs resulting from that fix !