Fixed api output