grunt api issue resolved