fix initial coding