many bugs fixed!!!!!