Resolved the compiler warning