Fixed apiProperties not being passed bug