modifications for valid deploy with new api build structure