fixed for ghost 0.5