arraymap for keywords fix