fixed scanarray