proper fix for make check