fix errors for 1.0.3