Fixing issues api fail error