remove function is.scalar