fix role package parse