fix adviser validation