Fixed bug that caused a crash. Arguments were mismatched.