weird -10810 error solved by dropping .app extension