bug fix for last update regarding %$%