cleanup

cleaned platforms
small code cleaning