fixed running from bin