Fix problem with deplo code