fixed for linux compile