trying to resolve some weird behavior