Bug fix: removed '#' from pattern