Fix bug in Facebook connect