bugs fixed and small css fix