Fixes package reading issues