fixed bugs in app
modified the driver