corrected cairo module