problem solved... more or less.
i duplicated the global.php file and named the duplicate to calglobal.php. in the calglobal i removed the statement that parses the phpinclude template. then i changed the require statement in the calendar.php file to require calglobal.php instead of global.php . so now i don't have the problem anymore at the small cost of not having the mini calendar on the big calendar page (which makes sense i guess).
cheers!