bugfix
cleaning up abstractplatformadapter