fixes #1, getter can't be a published property