Fixing bug in inthab