added check for litespeed