#27 extra logging
fix for vector expression function