fixed viewcomposer from changes from janhartihan