fixed errors, submitted to Bioc