Fixed bug with custom syntax profile