fix, courtesy of @kaelig