Fix app errors