fixed typo + restored backwards compatibility