add check for connect props being set correctly.