Fix on generate views