Fix deploy bug