need to use js api to fix that