Fixed bug created by residu of testing code.