Fix for Kohana connector