cooker bug fix and parsing improvement