fixed validation on facebook launch.