platform bug fix