Fixed compilation, small modification of startsWith