apply fix from http://cs.sensiolabs.org/