fix error in app