draw ship compilation fixes