fixed launchd problem