Make array input stricter