fix error pointed out by @Apanatshka