Fix init without run error

Fix the issue that throws error if you initialize class and never
execute run method.