     )
 
   removeAllocationMoveMenu: ()->
-    $('#move-allocation-menu').delete()
-    @open = true
+    allocMenu = $('#move-allocation-menu')
+    console.log allocMenu
+    $('#move-allocation-menu').remove() if allocMenu.length > 0
 
 
   ###*

class HomeScreen extends Screen
  file: 'game.html'
  open: false
  constructor: () -> 

  ###*



  drawAllocationMoveMenuButtons: (clickedOn) ->
    @removeAllocationMoveMenu()
    $('#container').append('<div id="move-allocation-menu">
      <span id="mamenu-required-btn">Required</span>
      <span id="mamenu-optional-btn">Optional</span>
