Solved minor compiler warning