fixed the platform constraints