fix amplitude loading