minor fix for backwards compatibility