Syntax/logic error fix.