Fix check for standalone