fixed bug in planetlab init