removing print statements from imgServer