Fix at method

Fixes #114