Fix error, thanks to @rexim.