fixed numpy issue with scalars