fixes #23, clumsy solution... maybe make this perfect sometimes...