fixed bug in views with gilt