OSX: Fix logic