fixed for dynamic bitmap