fixed platform check in root password block