Optimize the code

Signed-off-by: jssoscar
Date: 2014-4-16 17:49:10
Version: 2.0