Fixed unknown column bug