small fix for funning from Unity