bag fix in view calendar

WARNING: This is actually called staticly so $this is not available.