Fix for online detection