fixed some bugs with ship interaction