Fix app variable