Fix app endpoint