fixed imaging server bug