fixing issue on no template view generation