avoid potential error
fix ceylon/ceylon-js#414