fix for Kohana 3.3