fix app attribute not found error