Fix getStatus, thanks @dlwr

Close #273