changes problems with numpy methods (i.e. size and nan not foud)