Fixed rest compile issue #4 

Fixed stuff!