fix check for install requirements