fixing bugs

several bugs fixed. No features added.