hardcore fix, thanks to @matej21