platform file fixes