bug debugging.....