fix lazy load issues for platform driver. THANKS @orien !!!