Fixes random Q at the end of line.