Fix app definition