Removing compiler warning