more fixes
load Devel::Declare at the beginning to avoid error