fix onmount calls