some bug elimination