compile error fix for shiva