fixed clear assigne causing NPE