trying to track strange bug