fixing initiation of server scanner