fix to avoid strict error