remove win related code