Resolved compiler warning