Bug fixes for view with glue