platforms() fixed